<div>批量修改</div>
<div id="tip_batchEditDict" style="color: red" ></div>

<form id="form_batchEditDict">
	<table id="table_dict">
		<tr align="center">
			<td>编码<span style="color: red">*</span></td>
			<td>名称<span style="color: red">*</span></td>
			<td>类型<span style="color: red">*</span></td>
			<td>备注</td>
		</tr>
	 @foreach ($dict_list as $dict)
		<tr align="center">
			<td><input type="text" id="code{{$dict->id}}" name="code[]"value="{{$dict->code}}" /></td>
			<td><input type="text" id="name{{$dict->id}}" name="name[]" value="{{$dict->name}}" /></td>
			<td><input type="text" id="type{{$dict->id}}" name="type[]" value="{{$dict->type}}" /></td>
			<td><input type="text" id="remark{{$dict->id}}" name="remark[]" value="{{$dict->remark}}" /></td>
			<input type="hidden" id="id{{$dict->id}}" name="id[]" value="{{$dict->id}}" />
		</tr>
	 @endforeach
	</table>
</form>

<div>
	<button type="submit" id="btn_doBatchEditDict">保存</button>
	<button type="submit" id="btn_back">返回</button>
</div>


<script src="/js/vendor/jquery.min.js"></script>
<script src="/js/Dict/batchEditDict.js"></script>